/*
    Project:        Home Power Control
    File:           globals.h
    Author:         christian@karunamusic.at
    Date:           11.2014
    Description:    Global definitions.
 */

#ifndef GLOBALS_H
#define GLOBALS_H

#include "HPCLogger.h"
#include <boost/current_function.hpp>

#if defined(PROFILE)
    #include <boost/timer/timer.hpp>

    #define PROFILE_THIS LOG( trace, "entry" ); boost::timer::auto_cpu_timer prof_t;
#else
    #define PROFILE_THIS LOG( trace, "entry" );
#endif // TRACE

#endif // GLOBALS_H
